<script setup>
import { ref } from 'vue'
import { ElConfigProvider } from 'element-plus'

import zhCn from 'element-plus/es/locale/lang/zh-cn'

const locale = ref(zhCn)
zhCn.el.pagination = Object.assign(
  zhCn.el.pagination,
  locale.value.el.pagination
)
</script>

<template>
  <el-config-provider :locale="zhCn">
    <router-view></router-view>
  </el-config-provider>
</template>

<style scoped></style>
